package com.mkb.dao;

import java.util.List;
import java.util.Map;

public interface BaseDAO<T> {
    int deleteById(Long id);

    int insert(T record);

    int insertBatch(List<T> doList);

    T getById(Long id);

    int update(T record);

    int count(Map<String, Object> map);

    List<T> queryList(Map<String, Object> params);
}

